package com.jiuqi.irs.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="TB_APPLICATIONDETAIL"
 *     
 */
public class TbApplicationDetail implements Serializable {

	private String detailGuid;

	private String applaGuid;

	private String orgGuid;

	private String buyCardNo;

	private String year;

	private String startnumber;

	private String endnumber;

	private String quantity;

	private String reccreator;

	private String accordTime;

	private String reserved1;

	private String reserved2;

	private String reserved3;

	public String getDetailGuid() {
		return detailGuid;
	}

	public void setDetailGuid(String detailGuid) {
		this.detailGuid = detailGuid;
	}

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getStartnumber() {
		return startnumber;
	}

	public void setStartnumber(String startnumber) {
		this.startnumber = startnumber;
	}

	public String getEndnumber() {
		return endnumber;
	}

	public void setEndnumber(String endnumber) {
		this.endnumber = endnumber;
	}

	public String getReccreator() {
		return reccreator;
	}

	public void setReccreator(String reccreator) {
		this.reccreator = reccreator;
	}

	public String getAccordTime() {
		return accordTime;
	}

	public void setAccordTime(String accordTime) {
		this.accordTime = accordTime;
	}

	public String getApplaGuid() {
		return applaGuid;
	}

	public void setApplaGuid(String applaGuid) {
		this.applaGuid = applaGuid;
	}

	public String getOrgGuid() {
		return orgGuid;
	}

	public void setOrgGuid(String orgGuid) {
		this.orgGuid = orgGuid;
	}

	public String getBuyCardNo() {
		return buyCardNo;
	}

	public void setBuyCardNo(String buyCardNo) {
		this.buyCardNo = buyCardNo;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public TbApplicationDetail(String detailGuid, String applaGuid,
			String orgGuid, String quantity, String buyCardNo, String year,
			String startnumber, String endnumber, String reccreator,
			String accordTime, String releaseTime, String applaCreatTime,
			String applaLastTime, String reserved1, String reserved2,
			String reserved3) {
		this.detailGuid = detailGuid;
		this.applaGuid = applaGuid;
		this.orgGuid = orgGuid;
		this.quantity = quantity;
		this.buyCardNo = buyCardNo;
		this.year = year;
		this.startnumber = startnumber;
		this.endnumber = endnumber;
		this.reccreator = reccreator;
		this.accordTime = accordTime;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
		this.reserved3 = reserved3;
	}

	public TbApplicationDetail() {

	}

	public TbApplicationDetail(String detailGuid, String applaGuid,
			String orgGuid) {
		this.detailGuid = detailGuid;
		this.applaGuid = applaGuid;
		this.orgGuid = orgGuid;
	}

	public String toString() {
		return new ToStringBuilder(this).append("detailGuid", getDetailGuid())
				.toString();
	}

	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((detailGuid == null) ? 0 : detailGuid.hashCode());
		return result;
	}

	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TbApplicationDetail other = (TbApplicationDetail) obj;
		if (detailGuid == null) {
			if (other.detailGuid != null)
				return false;
		} else if (!detailGuid.equals(other.detailGuid))
			return false;
		return true;
	}

}
